package com.xy.tianyu.constant

import com.xy.tianyu.utils.StringUtils

/**
 * @time 2020/9/11 14:40
 * @class 描述:
 */
object Constant {
    /**
     * 首页广告MMKV key
     */
    const val SPLASH_ADVERTS = "splash_adverts"

    /**
     * 首页广告获取时间
     */
    const val SPLASH_GET_TIME = "splash_get_time"

    /**
     * 新闻参数u key
     */
    const val NEWS_U = "NEWS_U"

    /**
     * 新闻参数uid KEY
     */
    const val NEWS_UID = "news_uid"
    /**
     * 新闻参数uid2 key
     */
    const val NEWS_UID2 = "news_uid2"
    /**
     * 新闻参数eid key
     */
    const val NEWS_EID = "news_eid"
    /**
     * 新闻参数csid key
     */
    const val NEWS_CSID = "news_csid"
    /**
     * 新闻参数sign value
     */
    const val NEWS_SIGN = "llq"

    /**
     * 新闻参数version value
     */
    const val NEWS_VERSION = "9.1.0.011"

    /**
     * 新闻参数news_sdk_version value
     */
    const val NEWS_SDK_VERSION = "3.1.1"

    /**
     * 新闻参数device value
     */
    const val NEWS_DEVICE = "0"

    /**
     * 新闻参数s_enid value
     */
    val NEWS_S_ENID = "m-${StringUtils.getRandomString(5)}-36-${StringUtils.getRandomString(5)}-${StringUtils.getRandomString(5)}-bG9jYWxfU2hlblpoZW5fR3VhbmdEb25n-${StringUtils.getRandomString(4)}"
    /**
     * 新闻参数sdkv value
     */
    const val NEWS_SDKV = "3"
    /**
     * 新闻参数sdkv value
     */
    const val NEWS_TABSV = "15"
    /**
     * 新闻参数market value
     */
    const val NEWS_MARKET = "13104595"
    /**
     * 新闻参数update_time key
     */
    const val NEWS_UPDATE_TIME = "update_time"
    /**
     * 新闻参数stype value
     */
    const val NEWS_STYPE = "portal"

    /**
     * 新闻参数net value
     */
    const val NEWS_NET = "4"

    /**
     * 新闻参数v value
     */
    const val NEWS_V = "1"
    /**
     * 新闻参数sv value
     */
    const val NEWS_SV = "19"

    /**
     * 新闻参数scene value
     */
    const val NEWS_SCENE = "9001"
    /**
     * 新闻参数sub_scene value
     */
    const val NEWS_SUB_SCENE = "1"
    /**
     * 新闻参数refer_scene value
     */
    const val NEWS_REFER_SCENE = "0"

    /**
     * 新闻参数refer_subscene value
     */
    const val NEWS_REFER_SUBSCENE = "14"

    /**
     * 新闻参数user_mode  value
     */
    const val NEWS_USER_MODE = "1"
    /**
     * 新闻参数ufrom   value
     */
    const val NEWS_UFROM = "1"

    /**
     * 新闻参数tj_deeplink   value
     */
    const val NEWS_TJ_DEEPLINK = "1"

    /**
     * 新闻参数imgtype   value
     */
    const val NEWS_IMGTYPE = "1"



    /**
     * 视频参数m    value
     */
    const val VIDEO_M = "videolist"

    /**
     * browser_llq_eventmd5参数第一个组成部分的key
     */
    const val VIDEO_BROWSER_LLQ_EVENTMD5_FIRST = "video_browser_llq_eventmd5_first"
    /**
     * browser_llq_eventmd5参数第二个组成部分的key
     */
    const val VIDEO_BROWSER_LLQ_EVENTMD5_SECOND = "video_browser_llq_eventmd5_second"
    /**
     * browser_llq_eventmd5参数第三个组成部分的key
     */
    const val VIDEO_BROWSER_LLQ_EVENTMD5_THREE = "video_browser_llq_eventmd5_three"
    /**
     * browser_llq_eventmd5参数第四个组成部分的key
     */
    const val VIDEO_BROWSER_LLQ_EVENTMD5_FOUR = "video_browser_llq_eventmd5_four"
    /**
     * 视频参数vvs    value
     */
    const val VIDEO_VVS = "100"
    /**
     * 视频参数browser_llq_video_tag   value
     */
    const val VIDEO_BROWSER_LLQ_VIDEO_TAG = "90010102"

    /**
     * 视频参数market    value
     */
    const val VIDEO_MARKET = "h094854"

    /**
     * 视频参数video_access_token中第一个随机uid的key
     */
    const val VIDEO_ACCESS_TOKEN_FIRST_UID = "video_access_token_first_uid"
    /**
     * 视频参数video_access_token中第二个随机uid的key
     */
    const val VIDEO_ACCESS_TOKEN_SECOND_UID = "video_access_token_second_uid"
    /**
     * 视频参数access_token的key
     */
    const val VIDEO_ACCESS_TOKEN = "access_token"

    /**
     * cookie
     */
    const val REQUEST_COOKIE = "request_cookie"

    /**
     * 小说请求头imei
     */
    const val NOVEL_IMEI = "novel_imei"

    /**
     * 小说请求头uid
     */
    const val NOVEL_UID = "novel_uid"

    /**
     * 小说请求头Mac地址
     */
    const val NOVEL_MAC = "novel_mac"

    const val NOVEL_VERSION = "6.9.2"

    const val NOVEL_CNID = "1272"
}